package com.colorlight.cloud.complete.entity.po;


import com.colorlight.cloud.gateway.api.annotation.name;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FunctionCardPowerStatusInfo implements Trans<FunctionCardPowerStatusInfo, CompleteEntity.FunctionCardPowerStatusInfo> {

    /**
     * 网口序号
     */
    private Integer portIndex;

    /**
     * 多功能卡序号
     */
    private Integer functionIndex;

    /**
     * 继电器 J9 到 J12，J13 到 J16
     */
    @name("relayItem")
    private List<RelayItem> relayItemList;
}

